<!-- 订单销售明细统计 -->
<template>
  <div class="app-container">
    <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="70px">
      <el-form-item label="制单时间" prop="processName">
        <el-date-picker
          v-model="queryParams.begainTime"
          type="date"
          placeholder="选择日期">
        </el-date-picker> - 
        <el-date-picker
          v-model="queryParams.endTime"
          type="date"
          placeholder="选择日期">
        </el-date-picker>
      </el-form-item>
      
      <el-form-item label="店铺名称" prop="processCode">
        <el-input
          v-model="queryParams.processCode"
          placeholder="请输入工序编码"
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>
      <el-form-item>
        <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
      </el-form-item>
    </el-form>

    <div class="app-container-main">
      <lineChart />
    </div>

    
  </div>
</template>

<script>
import lineChart from './lineChart.vue';
export default {
  name: 'monthlySales',
  components: { lineChart },
  data() {
    return {
      showSearch: true,
      queryParams: {
        begainTime: '',
        endTime: '',
      },
      queryParams1:{
        pageNum: 1,
        pageSize: 10,
      },
    }
  },
  created() {

  },
  mounted () {
  },
  methods: {
    getList(){
      console.log('11');
    },
    handleQuery(){
      console.log(this.queryParams, this.statusList);
    },
    resetQuery(){
      console.log('11');
    },
  }
}
</script>

<style lang="scss" scoped>
.app-container{
  &-main{
    width: 100%;
    height: 600px;
    // background-color: aqua;
  }
}
</style>